<div id="content">
    <div class="container_medium">
        <div class="login-form">            
<?php 
            if(isset($message_title))
                echo '<h1 class="blue">' . $message_title . '</h1>';

            if(isset($message_body))
                echo '<h2 class="orange">' . $message_body . '</h2>';
?>
<?php
        $module = $this->uri->segment(1);
        if($module == 'member') {
?>
            <ul style="list-style: disc outside none; padding: 0 20px;">
<?php
            if($member_type) {
                switch ($member_type) {                    
                    case 1: //Private seller
?>
                <li style="float: none;">
                    <a href="<?php  echo base_url() . "index.php/car/register";?>" class="link">Sell your cars</a>
                </li>
                <li style="float: none;">
                    <a href="<?php echo base_url() . "index.php/product/register";?>" class="link">Sell your product</a>
                </li>
<?php
                        break;                    
                    case 2: //Broker
?>
                <li style="float: none;">
                    <a href="<?php  echo base_url() . "index.php/car/register";?>" class="link">Sell your cars</a>
                </li>
<?php
                        break;
                    case 3: //Vendor
?>                    
                <li style="float: none;">
                    <a href="<?php  echo base_url() . "index.php/car/register";?>" class="link">Sell your cars</a>
                </li>
                <li style="float: none;">
                    <a href="<?php echo base_url() . "index.php/service/register";?>" class="link">Sell your service</a>
                </li>
                <li style="float: none;">
                    <a href="<?php echo base_url() . "index.php/product/register";?>" class="link">Sell your product</a>
                </li>
<?php
                        break;
                    case 4: //Buyer
?>
                <li style="float: none;">
                    <a href="<?php echo base_url() . "index.php/buy";?>" class="link">Search new &amp; used cars</a>
                </li>
                <li style="float: none;">
                    <a href="<?php echo base_url() . "index.php/service";?>" class="link">Search services</a>
                </li>
                <li style="float: none;">
                    <a href="<?php echo base_url() . "index.php/product";?>" class="link">Search products</a>
                </li>
<?php
                        break;
                }
            }
?>                
                <li style="float: none;">
                    <a href="<?php echo base_url(); ?>" class="link">Return to home page</a>
                </li>
            </ul>
<?php            
        }
?>            
        </div>	        
    </div>

    <div class="quicklink">
<?php 
        $this->load->view('/templates/quicklinks');
?>            
    </div>
</div>
<div class="separator"></div>